<template>
  <div>
    <Parent v-if="comment.parent" :parent="comment.parent" />
    <div class="main">{{comment.content}}</div>
  </div>
</template>

<script>
import Parent from "@/components/test/parent";
export default {
  components: {
    Parent
  },
  props: {
    comment: Object
  }
};
</script>
<style lang="less" scoped>
.main {
  padding: 10px;
  margin: 10px;
  width: 500px;
  border: 1px solid #eeeeee;
}
</style>